<?php


namespace app\admin\Validate\ad;


use app\common\BaseValidate;

/**
 * 更新广告状态
 * Class UpdateAdStatusByIdValidate
 * @package app\admin\Validate\ad
 */
class UpdateAdStatusByIdValidate extends BaseValidate
{
    protected $rule = [
        'id' => 'require|integer',
        'status' => 'require|in:0,1',
    ];
}